package com.piggy.logi.sys.bo;

import com.piggy.common.core.web.domain.BaseTenantEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel("货源订单合并编辑对象")
public class LogiGoodOrderMergeBo extends BaseTenantEntity {

    @NotNull
    @ApiModelProperty("货源订单母单ID")
    private Long parentId;

    @NotEmpty
    @ApiModelProperty("货源订单号合并集合")
    private List<String> goodOrderCodes;
}
